﻿using System;
namespace Maticsoft.Model
{
	/// <summary>
	/// Rights:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Rights
	{
		public Rights()
		{}
		#region Model
		private int _id;
		private string _code;
		private string _rightname;
		private string _url;
		private string _parentcode;
		private int? _ltype;
		private string _description;
		private string _extension;
		private string _icon;
		private int? _sort;
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string code
		{
			set{ _code=value;}
			get{return _code;}
		}
		/// <summary>
		/// 权限名称
		/// </summary>
		public string rightname
		{
			set{ _rightname=value;}
			get{return _rightname;}
		}
		/// <summary>
		/// 权限地址
		/// </summary>
		public string url
		{
			set{ _url=value;}
			get{return _url;}
		}
		/// <summary>
		/// 父级权限ID
		/// </summary>
		public string parentcode
		{
			set{ _parentcode=value;}
			get{return _parentcode;}
		}
		/// <summary>
		/// 菜单层级
		/// </summary>
		public int? ltype
		{
			set{ _ltype=value;}
			get{return _ltype;}
		}
		/// <summary>
		/// 权限说明
		/// </summary>
		public string description
		{
			set{ _description=value;}
			get{return _description;}
		}
		/// <summary>
		/// 扩展权限 新增 修改 删除等
		/// </summary>
		public string extension
		{
			set{ _extension=value;}
			get{return _extension;}
		}
		/// <summary>
		/// 图标代码
		/// </summary>
		public string icon
		{
			set{ _icon=value;}
			get{return _icon;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? sort
		{
			set{ _sort=value;}
			get{return _sort;}
		}
		#endregion Model

	}
}

